#include "cpp_framework.h"

CMDR::TASLock										CMDR::HazardMemory::_global_change_lock;
CMDR::HazardMemory::ThreadInfo				CMDR::HazardMemory::_thread_ary[HazardMemory::_MAX_THREADS];

const int CMDR::Integer::MIN_VALUE = INT_MIN;
const int CMDR::Integer::MAX_VALUE = INT_MAX;
const int CMDR::Integer::SIZE = 32;

__thread__	CMDR::Thread* CMDR::_g_tls_current_thread = null;
__thread__	CMDR::HazardMemory::ThreadInfo* CMDR::HazardMemory::_g_tls_thread_hazards = null;

CMDR::HazardMemory::CoarseQueue<CMDR::HazardMemory::Object* volatile*>		CMDR::HazardMemory::_queue;


CMDR::VolatileType<CMDR::HazardMemory::ScanThread*>	CMDR::HazardMemory::_p_scan_thread(null);
